﻿using System;
using System.Collections.Generic;
using System.Text;
using UnityEngine;

namespace Common
{
    public class GuiStyles
    {
        public static GUIStyle NameTag;
        public static GUIStyle ChatMessage;
        public static GUIStyle ChatScroll;
        private static bool noInit = true;
        public static void Init(GUISkin skin)
        {
            if (noInit)
            {
                noInit = false;
                NameTag = skin.label;
                ChatMessage = skin.label;
                ChatMessage.padding.top = 0;
                ChatMessage.padding.bottom = 0;
                ChatMessage.margin.bottom = 0;
                ChatMessage.margin.top = 0;
                ChatScroll = skin.scrollView;
            }
        }
    }
}

